#include"queue.h"

namespace ybc
{
	template<class T>
	void print_queue(queue<T>& q)
	{
		while (!q.empty())
		{
			cout << q.front() << " ";
			q.pop();
		}
		cout << endl;
	}

	void queue_test()
	{
		queue<int> q;
		q.push(1);
		q.push(2);
		q.push(3);
		q.push(4);
		print_queue(q);
	}
}

int main()
{
	ybc::queue_test();

	return 0;
}